"The Election of African American State Legislators in the Modern South" in LSQ
Charles S. Bullock IIIWilliam D. Hicks (hickswd@appstate.edu)
MV Hood III
Seth C. McKee
Daniel A. Smith Public Release Date: 03-16-2020Files contained in this folder: (1) REPLICATION_DATA_CHAMBERS_FULL.dta(2) REPLICATION_DATA_LEGISLATORS_FULL.dta
(3) FIGURE_1_A1.Rdata(4) FIGURE_A2.Rdata
(5) REPLICATION_CODE_LEGISLATORS.do
(6) REPLICATION_CODE_CHAMBERS.do
(7) FIGURE_1.R
(8) FIGURE_A1.R
(9) FIGURE_A2.RTo reproduce tables and figures based on individual (i.e., legislator) analysis, (1) open REPLICATION_CODE_LEGISLATORS.do, (2) change the file path to import REPLICATION_DATA_LEGISLATORS_FULL.dta into Stata, (3) set the working directory location, and (4) run the entire file.

To reproduce tables and figures based on aggregate (i.e., chamber) analysis, (1) open REPLICATION_CODE_CHAMBERS.do, (2) change the file path to import REPLICATION_DATA_CHAMBERS_FULL.dta into Stata, (3) set the working directory location, and (4) run the entire file.

To reproduce Figure 1, (1) open FIGURE_1.R, (2) load Rdata file FIGURE_1_A1.Rdata, set your working directory, and run the file in full. 

To reproduce Figure A1, (1) open FIGURE_A1.R, (2) load Rdata file FIGURE_1_A1.Rdata, set your working directory, and run the file in full.

To reproduce Figure A2, (1) open FIGURE_A2.R, (2) load Rdata file FIGURE_A2.Rdata, set your working directory, and run the file in full.

We conducted the analysis for this paper using Stata v. 14.2 and R version 3.6.3